package com.zuipin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zuipin.entity.SysActionLog;
import com.zuipin.mapper.SysActionLogMapper;
import com.zuipin.service.ISysActionLogService;
import com.zuipin.util.Pagination;

/**
 * 用户操作记录服务实现
 * 
 * @ClassName: SysActionLogSer5viceImpl
 * @Description: TODO
 * @author  robot
 * @date 2017年09月147日 09:21:08
 */
@Service
public class SysActionLogServiceImpl implements ISysActionLogService {
	
	@Resource
	private SysActionLogMapper sysActionLogMapper;
	
	@Override
	public SysActionLog findById( Long id) {
		return sysActionLogMapper.findById(id);
	}
	
	@Override
	public void insert(SysActionLog sysActionLog) {
		sysActionLogMapper.insert(sysActionLog);
	}
	
	@Override
	public void update(SysActionLog sysActionLog) {
		sysActionLogMapper.update(sysActionLog);
	}
	
	@Override
	public void delete( Long id) {
		sysActionLogMapper.delete(id);
		
	}
	
	@Override
	public List<SysActionLog> seachSysActionLog(SysActionLog sysActionLog, Pagination page) {
		return sysActionLogMapper.seachSysActionLog(sysActionLog, page);
	}
	
}
